package dpreview;
import java.util.Date;
import java.util.Vector;


public class Camera {
	private String brand;
	private String model;
	private String description;
	private Date anounced;
	private int[] max_res = new int[2];
	private Vector<int[]> lower_res = new Vector<int[]>(); 
	private Vector<int[]> image_ratio = new Vector<int[]>();
	private float efective_pixels;
	private String sensor_size_width;
	private String sensor_size_height;
	private String sensor_size_fraction;
	private String sensor_size_area;
	private Vector<String> ISO_rating = new Vector<String>();
	private String[] shutter = new String[2];
	private String review_link;
	private String image_link;

	Camera(String review_link){
		this.review_link = review_link;
	}
	
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Date getAnounced() {
		return anounced;
	}
	public void setAnounced(Date anounced) {
		this.anounced = anounced;
	}
	public int[] getMax_res() {
		return max_res;
	}
	public void setMax_res(int maxResW, int maxResH) {
		max_res[0] = maxResW;
		max_res[1] = maxResH;
	}
	public Vector<int[]> getLower_res() {
		return lower_res;
	}
	public void setLower_res(Vector<int[]> lowerRes) {
		lower_res = lowerRes;
	}
	
	public void addLowResolution(int w, int h){
		lower_res.add(new int[]{w, h});
	}
	public Vector<int[]> getImage_ratio() {
		return image_ratio;
	}
	public void setImage_ratio(Vector<int[]> imageRatio) {
		image_ratio = imageRatio;
	}
	public void addImageRatio(int w, int h){ 				// _________________RUI
		image_ratio.add(new int[]{w, h});
	}
	public float getEfective_pixels() {
		return efective_pixels;
	}
	public void setEfective_pixels(float efectivePixels) {
		efective_pixels = efectivePixels;
	}
	public String getSensor_size_width() {
		return sensor_size_width;
	}
	public void setSensor_size_width(String sensorSizeWidth) {
		sensor_size_width = sensorSizeWidth;
	}
	public String getSensor_size_height() {
		return sensor_size_height;
	}
	public void setSensor_size_height(String sensorSizeHeight) {
		sensor_size_height = sensorSizeHeight;
	}
	public String getSensor_size_fraction() {
		return sensor_size_fraction;
	}
	public void setSensor_size_fraction(String sensorSizeFraction) {
		sensor_size_fraction = sensorSizeFraction;
	}
	public String getSensor_size_area() {
		return sensor_size_area;
	}
	public void setSensor_size_area(String sensorSizeArea) {
		sensor_size_area = sensorSizeArea;
	}
	public Vector<String> getISO_rating() {
		return ISO_rating;
	}
	public void setISO_rating(Vector<String> iSORating) {
		ISO_rating = iSORating;
	}
	public String[] getShutter() {
		return shutter;
	}
	public void setShutter(String[] shutter) {
		this.shutter = shutter;
	}
	public String getReview_link() {
		return review_link;
	}
	public void setReview_link(String reviewLink) {
		review_link = reviewLink;
	}
	public String getImage_link() {
		return image_link;
	}
	public void setImage_link(String imageLink) {
		image_link = imageLink;
	}
	// teste diogitoos
}
